package com.permission.model;

import java.util.List;

public class Menu {
    private Long id;
    private String name;
    private String url;
    private Long parentId;
    private String ico;
    private Integer type;
    private List<Menu> children;

    // getter和setter方法
    public Long getId() { return id; }
    public void setId(Long id) { this.id = id; }
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public String getUrl() { return url; }
    public void setUrl(String url) { this.url = url; }
    public Long getParentId() { return parentId; }
    public void setParentId(Long parentId) { this.parentId = parentId; }
    public String getIco() { return ico; }
    public void setIco(String ico) { this.ico = ico; }
    public Integer getType() { return type; }
    public void setType(Integer type) { this.type = type; }
    public List<Menu> getChildren() { return children; }
    public void setChildren(List<Menu> children) { this.children = children; }
}
